package com.vincent.music.kkmusicapi.http;

public class ApiResult<T> {

    private T result;
    private int code;

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "ApiResult{" +
                "result=" + result +
                ", code=" + code +
                '}';
    }
}
